package com.webas.api.auth;

import java.util.List;

public interface User
{
	public static final String ALL = "User.all";
    public static final String BY_USERNAME_OR_EMAIL = "User.byUserNameOrEmail";
    public static final String BY_CREDENTIALS = "User.byCredentials";
    public static final String BY_TOKEN = "User.byToken";

    public Long getId();    
    public void setId(Long id);

    public String getEmail();
    public void setEmail(String email);

    public String getUsername();
    public void setUsername(String username);

    public void setFullname(String fullname);
    public String getFullname();

    public String getPassword();
    public void setPassword(String password);

    public List<Role> getRoles();
    void setRoles(List<Role> roles);
}